<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title></title>
        <meta name="description" content="" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />

        <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
        
        <!--[if lte IE 9]><link rel="stylesheet" href="css/ie.css" type="text/css" media="screen" /><![endif]-->
        <link rel="stylesheet" href="css/1140.css" th:href="@{/css/1140.css}" type="text/css" media="screen" />
	
        <link rel="stylesheet" href="css/normalize.css" th:href="@{/css/normalize.css}"/>
        <link rel="stylesheet" href="css/main.css" th:href="@{/css/main.css}"/>
        <link rel="stylesheet" href="css/css.css" th:href="@{/css/css.css}"/>
            
        <script src="js/vendor/modernizr-2.6.2.min.js" th:src="@{/js/vendor/modernizr-2.6.2.min.js}"></script>
        <script src="js/vendor/css3-mediaqueries.js" th:src="@{/js/vendor/css3-mediaqueries.js}"></script>
	
        <script src="http://lib.sinaapp.com/js/jquery/1.9.0/jquery.min.js" th:src="@{http://lib.sinaapp.com/js/jquery/1.9.0/jquery.min.js}"></script>
        <script th:inline="javascript">/*<![CDATA[*/
        window.jQuery || document.write('<script src="'+ /*[[@{/js/vendor/jquery-1.9.0.min.js}]]*/ 'js/vendor/jquery-1.9.0.min.js'
        		+'"><\/script>')
        /*]]>*/</script>
        <script src="js/plugins.js" th:src="@{/js/plugins.js}"></script>
        <script src="js/main.js" th:src="@{/js/main.js}"></script>
<script src="ckeditor/ckeditor.js" th:src="@{/ckeditor/ckeditor.js}"></script>
    </head>
    <body>
		<form method="post" accept-charset="utf-8" th:action="${article}?@{/admin/article/update}:@{/admin/article/add}">
			<input type="hidden" name="id" th:if="${article}" th:value="${article.id}"/>
			title: <input name="title" th:value="${article}?${article.title}"/> <br />
			english name: <input name="englishName" th:value="${article}?${article.englishName}"/> <br />
			content: <textarea name="content" class="ckeditor" th:text="${article}?${article.content}"></textarea>
			<button type="submit">submit</button>
		</form>        
    </body>
</html>
